<div class="layui-form layui-form-pane layui-tab-item layui-show">
    <#form:form id="infoForm" modelAttribute="loginUser"  method="post" action="${ctx}/user/${loginUser.id}/saveInfo">
        <div class="layui-form-item">
            <label for="L_email" class="layui-form-label">手机</label>
            <div class="layui-input-inline">
                <#form:input  id="L_phone"  path="phone" required="" lay-verify-strikethrough="phone" autocomplete="off" class="layui-input" disabled="" style="cursor: not-allowed !important;"/>
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span style="color: #5FB878">您已完成手机号绑定，已正式成为社区实名用户。</span> 手机号暂不支持修改。
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_email" class="layui-form-label">邮箱</label>
            <div class="layui-input-inline">
                <#form:input  id="L_email"  path="email" required="true" lay-verify-strikethrough="email"  autocomplete="off" class="layui-input"/>
            </div>
            <div class="layui-form-mid layui-word-aux">
                <% if(loginUser.emailActivate == '1'){%>
                <span style="color: #5FB878">您的邮箱已激活，也可以作为登入名</span>
                <%}else{%>
                如您的邮箱尚未激活，请：<a href="${ctx}/user/activate" style="font-size: 12px; color: #4f99cf;">重新验证邮箱</a>。
                <%}%>
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_realname" class="layui-form-label">昵称</label>
            <div class="layui-input-inline">
                <input type="text" id="L_realname" name="realname" required lay-verify="required" value="${loginUser.realname}" autocomplete="off" value="" class="layui-input">
            </div>
            <div class="layui-inline">
                <div class="layui-input-inline">
                    <#form:radiobutton path="sex" value="1" title="男"/>
                    <#form:radiobutton path="sex" value="2" title="女"/>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label for="L_city" class="layui-form-label">城市</label>
            <div class="layui-input-inline">
                <#form:input  id="L_city"  path="city" required="true"  autocomplete="off" class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label for="L_signature" class="layui-form-label">签名</label>
            <div class="layui-input-block">
                <#form:textarea  placeholder="随便写些什么刷下存在感" id="L_signature"  path="signature" autocomplete="off" class="layui-textarea" style="height: 80px;"/>
            </div>
        </div>
        <div class="layui-form-item">
            <button class="layui-btn" alert="true" key="set-mine" lay-filter="*" lay-submit>确认修改</button>
        </div>
    </#form:form>
</div>